package com.org.redis.omos;

import com.org.redis.config.JedisUtils;
import redis.clients.jedis.Jedis;

/**
 * @author: wangjy
 * @date: 2021/07/13
 */
public class IncrDemo {

    public static void main(String[] args) {
        Jedis jedis = JedisUtils.getJedis();
        Long incr = jedis.incr("1-2-3-4");
        jedis.expire("1-2-3-4", 900);
    }
}
